package com.fqgj.sentry.api.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liupengpeng on 2017/9/23.
 */
public class ExecutorResult implements Serializable {

    /**
     * 执行者ID
     */
    private Long executorId;
    /**
     * 事件类型ID
     */
    private Long eventId;
    /**
     * 执行者 类型
     */
    private Integer executorType;
    /**
     *
     */
    private String version;
    /**
     * 审核 结果
     */
    private DecisionResult decisionResult;

    /**
     * 策略集合
     */
    private List<ApiPolicy> policyList;

    public String getVersion() {
        return version;
    }

    public ExecutorResult setVersion(String version) {
        this.version = version;
        return this;
    }

    public Long getExecutorId() {
        return executorId;
    }

    public ExecutorResult setExecutorId(Long executorId) {
        this.executorId = executorId;
        return this;
    }

    public Long getEventId() {
        return eventId;
    }

    public ExecutorResult setEventId(Long eventId) {
        this.eventId = eventId;
        return this;
    }

    public Integer getExecutorType() {
        return executorType;
    }

    public ExecutorResult setExecutorType(Integer executorType) {
        this.executorType = executorType;
        return this;
    }

    public DecisionResult getDecisionResult() {
        return decisionResult;
    }

    public ExecutorResult setDecisionResult(DecisionResult decisionResult) {
        this.decisionResult = decisionResult;
        return this;
    }

    public List<ApiPolicy> getPolicyList() {
        return policyList;
    }

    public ExecutorResult setPolicyList(List<ApiPolicy> policyList) {
        this.policyList = policyList;
        return this;
    }
}
